3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
An ellipsoid is a three-dimensional surface defined by an origin (that is, the center of the ellipsoid) and three mutually perpendicular vectors that define the orientation and the major and minor radii of the ellipsoid. An ellipsoid is defined by the TQ3EllipsoidData data type. See "Creating and Editing Ellipsoids" for a description of the routines you can use to create and edit ellipsoids. Figure 31 shows an ellipsoid.
typedef struct TQ3EllipsoidData {
TQ3Point3D origin;
TQ3Vector3D orientation;
TQ3Vector3D majorRadius;
TQ3Vector3D minorRadius;
float uMin, uMax, vMin, vMax;
TQ3EndCap caps;
TQ3AttributeSet interiorAttributeSet;
TQ3AttributeSet ellipsoidAttributeSet;
} TQ3EllipsoidData;
Previous | QD3D Book | Overview | Chapter Contents | Next |